package com.campusbackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 队伍表
 * </p>
 *
 * @author yezi
 * @since 2025-07-26
 */
@Getter
@Setter
@ToString
@EqualsAndHashCode
@Schema(name = "Teams", description = "队伍表")
public class Teams implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "队伍名称")
    private String teamName;

    @Schema(description = "队伍编号")
    private String teamCode;

    @Schema(description = "队伍类型")
    private String teamType;

    @Schema(description = "指导老师ID")
    private Long instructorId;

    @Schema(description = "团队介绍")
    private String teamIntro;

    @Schema(description = "当前参与的比赛")
    private String currentCompetition;

    @Schema(description = "获奖情况")
    private String awardInfo;

    @Schema(description = "最大成员数量")
    private Integer maxMembers;

    @Schema(description = "当前成员数量")
    private Integer currentMembers;

    @Schema(description = "状态：1-正常，0-解散")
    private Byte status;

    @Schema(description = "组建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}
